mobileCurrentHeading
Type
function
Summary
Returns the current heading of the device.
Syntax
mobileCurrentHeading()
Description
Use the mobileCurrentHeading function to find the current heading of the device.
Examples
get mobileCurrentHeading()
put mobileCurrentHeading() into theHeading
Related
command: mobileStopTrackingSensor, mobileStartTrackingSensor
function: mobileSensorReading, mobileCanTrackHeading
message: trackingError, headingChanged
Compatibility and Support
Introduced
LiveCode 4.6.1
OS
ios
android
Platforms
mobile